package com.ty.day3;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create 2023/11/8 11:23
 */
public class One {
    public static void main(String[] args) {
        for (int i = 1; i <= 1000; i++) {
            if (i % 11 == 0 && i % 21 == 0) {
                System.out.print(i + " ");
            }
        }
        System.out.println();
        double x = 70.6;
        if (x%1==0) {
            System.out.println(x + "是整数");
        } else {
            System.out.println(x + "不是整数");
        }
    }
}
